/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 系统日志表，可供查看以及举报等操作 实体类
 *
 * @author 
 * @since 2023-03-22
 */
@Data
@TableName("ts_log_system")
@ApiModel(value = "LogSystem对象", description = "系统日志表，可供查看以及举报等操作")
@EqualsAndHashCode(callSuper = true)
public class LogSystemEntity extends TenantEntity {

	/**
	 * 乐观锁
	 */
	@ApiModelProperty(value = "乐观锁")
	private String revision;
	/**
	 * 模块名;模块名，由各自模块决定
	 */
	@ApiModelProperty(value = "模块名;模块名，由各自模块决定")
	private String moduleName;
	/**
	 * 操作类型;操作类型CRUD
	 */
	@ApiModelProperty(value = "操作类型;操作类型CRUD")
	private String operationType;
	/**
	 * 请求方式
	 */
	@ApiModelProperty(value = "请求方式")
	private String requestType;
	/**
	 * 操作人员id;操作人员id
	 */
	@ApiModelProperty(value = "操作人员id;操作人员id")
	private Long operationUserId;
	/**
	 * 操作地址;具体操作接口地址
	 */
	@ApiModelProperty(value = "操作地址;具体操作接口地址")
	private String operationUrl;
	/**
	 * 操作地点;在哪个终端或者IP登录操作的
	 */
	@ApiModelProperty(value = "操作地点;在哪个终端或者IP登录操作的")
	private String operationLocation;
	/**
	 * 操作状态;当前这条操作的状态，比如被举报或者正常，警告，错误
	 */
	@ApiModelProperty(value = "操作状态;当前这条操作的状态，比如被举报或者正常，警告，错误")
	private String operationStatus;

}
